<form action="<?php e_page("ad","index");?>" method="get">
</form>
<table id="dataTable">
    <thead>
    <tr>
        <th>ID</th>
        <th>图片</th>
        <th>跳转链接</th>
        <th>create_time</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <?php foreach($r['list'] as $v){ ?>
        <tr>
            <td><?php echo $v['id']?></td>
            <td><img src="<?=$v['picture_url'] ?>" height="60px" /><?php //echo $v['picture_url']?></td>
            <td><?php echo $v['url']?></td>
            <td><?php echo $v['create_time']?></td>
            <td>
                <a href='<?php e_action("delete","id={$v['id']}");?>' onclick="return confirm('确定删除吗？');">删除</a>
            </td>
        </tr>
    <?php }?>
    </tbody>
</table>
<?php echo $r['page']->getPageHtml(); ?>